home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global counter, mycastnum, n, playlist, x, k, p
- cursor(-1)
- if counter = (k + 1) then
- set counter to 1
- else
- set n to item counter of field "playList"
- set mycastnum to the number of member ("B" & n)
- set the castNum of sprite 1 to mycastnum
- if the mouseDown then
- set x to 53
- put EMPTY into field "playList"
- sound stop 1
- puppetTransition(23)
- cursor(-1)
- set counter to 1
- go("menu")
- end if
- set counter to counter + 1
- counttime()
- if p = 1 then
- set p to 0
- set counter to 1
- go("menu")
- end if
- end if
- go("show")
- end
-
- on counttime
- startTimer()
- repeat while the timer <= (5 * 60)
- if the mouseDown then
- set p to 1
- set x to 53
- put EMPTY into field "playList"
- sound stop 1
- puppetTransition(23)
- cursor(-1)
- exit repeat
- end if
- nothing()
- end repeat
- end
-